<template>
  <div class="about">
    <h1>This is an about page</h1>
    <button @click="handleClick">main</button>
  </div>
</template>

<script>
import { defineComponent } from 'vue'

export default defineComponent({
  setup() {
    const handleClick = () => {
      window.history.pushState(null, '', '/')
    }

    return {
      handleClick,
    }
  }
})
</script>

<style lang="less" scoped>
.about {
  button {
    width: 100px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
  }
}
</style>